package org.tools.wstt.session;

import java.io.Serializable;

import org.tools.wstt.utils.logger.IWsttLogger;
import org.tools.wstt.utils.logger.WsttLoggerFactory;


public class SessionObject implements Serializable {

	private String mPropertyString;

	protected IWsttLogger mLogger = null;
	
	public SessionObject() {
		super();
		mLogger = WsttLoggerFactory.getLogger(this.getClass());
		testLogger("Constructor called");
	}

	public String getPropertyString() {
		return mPropertyString;
	}

	public void setPropertyString(String pPropertyString) {
		this.mPropertyString = pPropertyString;
	}

	public IWsttLogger getLogger() {
		return mLogger;
	}
	
	public void testLogger(String pMsg) {
		this.mLogger.fatal(pMsg);
		this.mLogger.error(pMsg);
		this.mLogger.info(pMsg);
		this.mLogger.debug(pMsg);
	}
	
	public void testLogger() {
		testLogger("TestLogger");
	}
	
}
